package com.catbad.services.impl;

import com.catbad.domain.FunctionList;
import com.catbad.mapper.FunctionListMapper;
import com.catbad.services.FunctionListServices;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FunctionListServicesImpl implements FunctionListServices {
    @Autowired
    FunctionListMapper functionListMapper;
    @Override
    public List<FunctionList> getFunctionList(Long rid) {
        return  functionListMapper.selectByRid(rid);
    }
}
